﻿using AutoMapper;
using S.Common.Enums.Initial;
using S.EliminationOrDath.API.Dtos;
using S.EliminationOrDath.Domain.Models;
using S.EliminationOrDath.Read.API.Dtos;

namespace S.EliminationOrDath.API.Extensions.AutoMapper
{
    public class SetProfile : Profile
    {
        public SetProfile()
        {
            //淘汰Model和Dtos互相映射
            CreateMap<EliminationModel, EliminationDtos>().ReverseMap();
        }
    }
}
